package com.changpei.core.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.data.annotation.Id;

import java.io.Serializable;

/**
 *
 * <p>Title : ContentFile</p>
 * <p>Description : ContentFile构建</p>
 * @author weibiao
 */
@Data
@TableName("tb_content_file")
public class ContentFile implements Serializable {

    /** serialVersionUID*/
    private static final long serialVersionUID = -1L;

    /**
     * 主键
     */
    @Id
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 内容ID
     */
    private Long contentId;

    /**
     * 附件ID
     */
    private Long fileId;


}
